package cho00;
import org.junit.Test;
import cho00.test.*;
import junit.framework.TestCase;

/**
 * Created by 春旺 on 2017/4/14.
 */
public class MyUtil3Test extends TestCase
{
    @Test
    void testNormal() {
        assertEquals("不及格", cho00.test.MyUtil3.percentage2fivegrade(55));
        assertEquals("及格", cho00.test.MyUtil3.percentage2fivegrade(65));
        assertEquals("中等", cho00.test.MyUtil3.percentage2fivegrade(75));
        assertEquals("良好", cho00.test.MyUtil3.percentage2fivegrade(85));
        assertEquals("优秀", cho00.test.MyUtil3.percentage2fivegrade(95));
    }

}